Select lowest ID and calculate deviation from the lowest
FIRST_VALUE (Transact-SQL) 


  Returns the first value in an ordered set of values in SQL Server
  2014.


Partition on mark1 and order by mark2.

Something like this should do it for you:

select T.*,
       100 * (T.mass - T.FirstMass) / T.FirstMass as Deviation
from (
     select T.*,
            first_value(T.mass) over(partition by T.mark1 order by T.mark2) as FirstMass
     from dbo.YourTable as T    
     ) as T;


SQL Fiddle