Changed the float matrix to a special button class